package com.mytest.controller;

import com.mytest.annotation.LoginRequired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

/**
 * @author Wulc
 * @date 2024/4/8 11:06
 * @description
 */
@RestController
@RequestMapping("/operate")
public class OperationController {

    @GetMapping("/operate1")
    @LoginRequired
    public String operate1() {
        return "操作1";
        //return response.getContentType();
    }
}
